import request from '@/utils/request'

// 平台用户列表
export function platformuserLists(params?: Record<string, any>) {
    return request.get({ url: '/platformuser/list', params })
}

// 平台用户详情
export function platformuserDetail(params: Record<string, any>) {
    return request.get({ url: '/platformuser/detail', params })
}

// 平台用户新增
export function platformuserAdd(params: Record<string, any>) {
    return request.post({ url: '/platformuser/add', params })
}

// 平台用户编辑
export function platformuserEdit(params: Record<string, any>) {
    return request.post({ url: '/platformuser/edit', params })
}

// 平台用户删除
export function platformuserDelete(params: Record<string, any>) {
    return request.post({ url: '/platformuser/del', params })
}
